package com.xiyun.admin.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("课程信息查询")
@Data
public class SubjectQuery {

    @ApiModelProperty("课程id")
    private String id;

    @ApiModelProperty("课程标题")
    private String title;

    @ApiModelProperty("课程讲师id")
    private String teacherId;

    @ApiModelProperty("课程讲师名称")
    private String teacher;

    @ApiModelProperty("课程价格")
    private Double price;

    @ApiModelProperty("是否已发布 0未发布 1已发布")
    private Integer draft;

    @ApiModelProperty("浏览量")
    private int count;

    @ApiModelProperty("课程封面")
    private String icon;

    @ApiModelProperty("发布时间")
    private Date gmtCreate;
}
